﻿namespace LogNaga.Logs
{
	/// <summary>
	/// 不记录log
	/// </summary>
	public class NoLog : Log
	{
		/// <summary>
		/// 使用Singleton模式保证只有一个NoLog实例
		/// </summary>
		public static NoLog Instance = new NoLog();

		private NoLog(){}

		/// <summary>
		/// 不记录任何内容
		/// </summary>
		/// <param name="errorEntry"><see cref="Error"/>实例</param>
		public override void Write(Error errorEntry)
		{
			//Do Nothing
		}
	}
}
